Package com.google.cloud.retail.v2beta
Class Rule
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.retail.v2beta.Rule
-
- All Implemented Interfaces:
RuleOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class Rule extends com.google.protobuf.GeneratedMessageV3 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.v2beta.Control] with [SOLUTION_TYPE_SEARCH][google.cloud.retail.v2beta.SolutionType.SOLUTION_TYPE_SEARCH].
Protobuf typegoogle.cloud.retail.v2beta.Rule
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Rule.ActionCase
static class
Rule.BoostAction
A boost action to apply to results matching condition specified above.static interface
Rule.BoostActionOrBuilder
static class
Rule.Builder
A rule is a condition-action pair * A condition defines when a rule is to be triggered.static class
Rule.DoNotAssociateAction
Prevents `query_term` from being associated with specified terms during search.static interface
Rule.DoNotAssociateActionOrBuilder
static class
Rule.FilterAction
* Rule Condition: - No [Condition.query_terms][google.cloud.retail.v2beta.Condition.query_terms] provided is a global match.static interface
Rule.FilterActionOrBuilder
static class
Rule.IgnoreAction
Prevents a term in the query from being used in search.static interface
Rule.IgnoreActionOrBuilder
static class
Rule.OnewaySynonymsAction
Maps a set of terms to a set of synonyms.static interface
Rule.OnewaySynonymsActionOrBuilder
static class
Rule.RedirectAction
Redirects a shopper to a specific page.static interface
Rule.RedirectActionOrBuilder
static class
Rule.ReplacementAction
Replaces a term in the query.static interface
Rule.ReplacementActionOrBuilder
static class
Rule.TwowaySynonymsAction
Creates a set of terms that will be treated as synonyms of each other.static interface
Rule.TwowaySynonymsActionOrBuilder
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
BOOST_ACTION_FIELD_NUMBER
static int
CONDITION_FIELD_NUMBER
static int
DO_NOT_ASSOCIATE_ACTION_FIELD_NUMBER
static int
FILTER_ACTION_FIELD_NUMBER
static int
IGNORE_ACTION_FIELD_NUMBER
static int
ONEWAY_SYNONYMS_ACTION_FIELD_NUMBER
static int
REDIRECT_ACTION_FIELD_NUMBER
static int
REPLACEMENT_ACTION_FIELD_NUMBER
static int
TWOWAY_SYNONYMS_ACTION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Rule.ActionCase
getActionCase()
Rule.BoostAction
getBoostAction()
A boost action.Rule.BoostActionOrBuilder
getBoostActionOrBuilder()
A boost action.Condition
getCondition()
Required.ConditionOrBuilder
getConditionOrBuilder()
Required.static Rule
getDefaultInstance()
Rule
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
Rule.DoNotAssociateAction
getDoNotAssociateAction()
Prevents term from being associated with other terms.Rule.DoNotAssociateActionOrBuilder
getDoNotAssociateActionOrBuilder()
Prevents term from being associated with other terms.Rule.FilterAction
getFilterAction()
Filters results.Rule.FilterActionOrBuilder
getFilterActionOrBuilder()
Filters results.Rule.IgnoreAction
getIgnoreAction()
Ignores specific terms from query during search.Rule.IgnoreActionOrBuilder
getIgnoreActionOrBuilder()
Ignores specific terms from query during search.Rule.OnewaySynonymsAction
getOnewaySynonymsAction()
Treats specific term as a synonym with a group of terms.Rule.OnewaySynonymsActionOrBuilder
getOnewaySynonymsActionOrBuilder()
Treats specific term as a synonym with a group of terms.com.google.protobuf.Parser<Rule>
getParserForType()
Rule.RedirectAction
getRedirectAction()
Redirects a shopper to a specific page.Rule.RedirectActionOrBuilder
getRedirectActionOrBuilder()
Redirects a shopper to a specific page.Rule.ReplacementAction
getReplacementAction()
Replaces specific terms in the query.Rule.ReplacementActionOrBuilder
getReplacementActionOrBuilder()
Replaces specific terms in the query.int
getSerializedSize()
Rule.TwowaySynonymsAction
getTwowaySynonymsAction()
Treats a set of terms as synonyms of one another.Rule.TwowaySynonymsActionOrBuilder
getTwowaySynonymsActionOrBuilder()
Treats a set of terms as synonyms of one another.boolean
hasBoostAction()
A boost action.boolean
hasCondition()
Required.boolean
hasDoNotAssociateAction()
Prevents term from being associated with other terms.boolean
hasFilterAction()
Filters results.int
hashCode()
boolean
hasIgnoreAction()
Ignores specific terms from query during search.boolean
hasOnewaySynonymsAction()
Treats specific term as a synonym with a group of terms.boolean
hasRedirectAction()
Redirects a shopper to a specific page.boolean
hasReplacementAction()
Replaces specific terms in the query.boolean
hasTwowaySynonymsAction()
Treats a set of terms as synonyms of one another.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Rule.Builder
newBuilder()
static Rule.Builder
newBuilder(Rule prototype)
Rule.Builder
newBuilderForType()
protected Rule.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Rule
parseDelimitedFrom(InputStream input)
static Rule
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Rule
parseFrom(byte[] data)
static Rule
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Rule
parseFrom(com.google.protobuf.ByteString data)
static Rule
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Rule
parseFrom(com.google.protobuf.CodedInputStream input)
static Rule
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Rule
parseFrom(InputStream input)
static Rule
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Rule
parseFrom(ByteBuffer data)
static Rule
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Rule>
parser()
Rule.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
BOOST_ACTION_FIELD_NUMBER
public static final int BOOST_ACTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REDIRECT_ACTION_FIELD_NUMBER
public static final int REDIRECT_ACTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ONEWAY_SYNONYMS_ACTION_FIELD_NUMBER
public static final int ONEWAY_SYNONYMS_ACTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DO_NOT_ASSOCIATE_ACTION_FIELD_NUMBER
public static final int DO_NOT_ASSOCIATE_ACTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REPLACEMENT_ACTION_FIELD_NUMBER
public static final int REPLACEMENT_ACTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IGNORE_ACTION_FIELD_NUMBER
public static final int IGNORE_ACTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FILTER_ACTION_FIELD_NUMBER
public static final int FILTER_ACTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TWOWAY_SYNONYMS_ACTION_FIELD_NUMBER
public static final int TWOWAY_SYNONYMS_ACTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONDITION_FIELD_NUMBER
public static final int CONDITION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getActionCase
public Rule.ActionCase getActionCase()
- Specified by:
getActionCase
in interfaceRuleOrBuilder
-
hasBoostAction
public boolean hasBoostAction()
A boost action.
.google.cloud.retail.v2beta.Rule.BoostAction boost_action = 2;
- Specified by:
hasBoostAction
in interfaceRuleOrBuilder
- Returns:
- Whether the boostAction field is set.
-
getBoostAction
public Rule.BoostAction getBoostAction()
A boost action.
.google.cloud.retail.v2beta.Rule.BoostAction boost_action = 2;
- Specified by:
getBoostAction
in interfaceRuleOrBuilder
- Returns:
- The boostAction.
-
getBoostActionOrBuilder
public Rule.BoostActionOrBuilder getBoostActionOrBuilder()
A boost action.
.google.cloud.retail.v2beta.Rule.BoostAction boost_action = 2;
- Specified by:
getBoostActionOrBuilder
in interfaceRuleOrBuilder
-
hasRedirectAction
public boolean hasRedirectAction()
Redirects a shopper to a specific page.
.google.cloud.retail.v2beta.Rule.RedirectAction redirect_action = 3;
- Specified by:
hasRedirectAction
in interfaceRuleOrBuilder
- Returns:
- Whether the redirectAction field is set.
-
getRedirectAction
public Rule.RedirectAction getRedirectAction()
Redirects a shopper to a specific page.
.google.cloud.retail.v2beta.Rule.RedirectAction redirect_action = 3;
- Specified by:
getRedirectAction
in interfaceRuleOrBuilder
- Returns:
- The redirectAction.
-
getRedirectActionOrBuilder
public Rule.RedirectActionOrBuilder getRedirectActionOrBuilder()
Redirects a shopper to a specific page.
.google.cloud.retail.v2beta.Rule.RedirectAction redirect_action = 3;
- Specified by:
getRedirectActionOrBuilder
in 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.v2beta.Rule.OnewaySynonymsAction oneway_synonyms_action = 6;
- Specified by:
hasOnewaySynonymsAction
in interfaceRuleOrBuilder
- Returns:
- Whether the onewaySynonymsAction field is set.
-
getOnewaySynonymsAction
public Rule.OnewaySynonymsAction 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.v2beta.Rule.OnewaySynonymsAction oneway_synonyms_action = 6;
- Specified by:
getOnewaySynonymsAction
in interfaceRuleOrBuilder
- Returns:
- The onewaySynonymsAction.
-
getOnewaySynonymsActionOrBuilder
public Rule.OnewaySynonymsActionOrBuilder 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.v2beta.Rule.OnewaySynonymsAction oneway_synonyms_action = 6;
- Specified by:
getOnewaySynonymsActionOrBuilder
in interfaceRuleOrBuilder
-
hasDoNotAssociateAction
public boolean hasDoNotAssociateAction()
Prevents term from being associated with other terms.
.google.cloud.retail.v2beta.Rule.DoNotAssociateAction do_not_associate_action = 7;
- Specified by:
hasDoNotAssociateAction
in interfaceRuleOrBuilder
- Returns:
- Whether the doNotAssociateAction field is set.
-
getDoNotAssociateAction
public Rule.DoNotAssociateAction getDoNotAssociateAction()
Prevents term from being associated with other terms.
.google.cloud.retail.v2beta.Rule.DoNotAssociateAction do_not_associate_action = 7;
- Specified by:
getDoNotAssociateAction
in interfaceRuleOrBuilder
- Returns:
- The doNotAssociateAction.
-
getDoNotAssociateActionOrBuilder
public Rule.DoNotAssociateActionOrBuilder getDoNotAssociateActionOrBuilder()
Prevents term from being associated with other terms.
.google.cloud.retail.v2beta.Rule.DoNotAssociateAction do_not_associate_action = 7;
- Specified by:
getDoNotAssociateActionOrBuilder
in interfaceRuleOrBuilder
-
hasReplacementAction
public boolean hasReplacementAction()
Replaces specific terms in the query.
.google.cloud.retail.v2beta.Rule.ReplacementAction replacement_action = 8;
- Specified by:
hasReplacementAction
in interfaceRuleOrBuilder
- Returns:
- Whether the replacementAction field is set.
-
getReplacementAction
public Rule.ReplacementAction getReplacementAction()
Replaces specific terms in the query.
.google.cloud.retail.v2beta.Rule.ReplacementAction replacement_action = 8;
- Specified by:
getReplacementAction
in interfaceRuleOrBuilder
- Returns:
- The replacementAction.
-
getReplacementActionOrBuilder
public Rule.ReplacementActionOrBuilder getReplacementActionOrBuilder()
Replaces specific terms in the query.
.google.cloud.retail.v2beta.Rule.ReplacementAction replacement_action = 8;
- Specified by:
getReplacementActionOrBuilder
in interfaceRuleOrBuilder
-
hasIgnoreAction
public boolean hasIgnoreAction()
Ignores specific terms from query during search.
.google.cloud.retail.v2beta.Rule.IgnoreAction ignore_action = 9;
- Specified by:
hasIgnoreAction
in interfaceRuleOrBuilder
- Returns:
- Whether the ignoreAction field is set.
-
getIgnoreAction
public Rule.IgnoreAction getIgnoreAction()
Ignores specific terms from query during search.
.google.cloud.retail.v2beta.Rule.IgnoreAction ignore_action = 9;
- Specified by:
getIgnoreAction
in interfaceRuleOrBuilder
- Returns:
- The ignoreAction.
-
getIgnoreActionOrBuilder
public Rule.IgnoreActionOrBuilder getIgnoreActionOrBuilder()
Ignores specific terms from query during search.
.google.cloud.retail.v2beta.Rule.IgnoreAction ignore_action = 9;
- Specified by:
getIgnoreActionOrBuilder
in interfaceRuleOrBuilder
-
hasFilterAction
public boolean hasFilterAction()
Filters results.
.google.cloud.retail.v2beta.Rule.FilterAction filter_action = 10;
- Specified by:
hasFilterAction
in interfaceRuleOrBuilder
- Returns:
- Whether the filterAction field is set.
-
getFilterAction
public Rule.FilterAction getFilterAction()
Filters results.
.google.cloud.retail.v2beta.Rule.FilterAction filter_action = 10;
- Specified by:
getFilterAction
in interfaceRuleOrBuilder
- Returns:
- The filterAction.
-
getFilterActionOrBuilder
public Rule.FilterActionOrBuilder getFilterActionOrBuilder()
Filters results.
.google.cloud.retail.v2beta.Rule.FilterAction filter_action = 10;
- Specified by:
getFilterActionOrBuilder
in interfaceRuleOrBuilder
-
hasTwowaySynonymsAction
public boolean hasTwowaySynonymsAction()
Treats a set of terms as synonyms of one another.
.google.cloud.retail.v2beta.Rule.TwowaySynonymsAction twoway_synonyms_action = 11;
- Specified by:
hasTwowaySynonymsAction
in interfaceRuleOrBuilder
- Returns:
- Whether the twowaySynonymsAction field is set.
-
getTwowaySynonymsAction
public Rule.TwowaySynonymsAction getTwowaySynonymsAction()
Treats a set of terms as synonyms of one another.
.google.cloud.retail.v2beta.Rule.TwowaySynonymsAction twoway_synonyms_action = 11;
- Specified by:
getTwowaySynonymsAction
in interfaceRuleOrBuilder
- Returns:
- The twowaySynonymsAction.
-
getTwowaySynonymsActionOrBuilder
public Rule.TwowaySynonymsActionOrBuilder getTwowaySynonymsActionOrBuilder()
Treats a set of terms as synonyms of one another.
.google.cloud.retail.v2beta.Rule.TwowaySynonymsAction twoway_synonyms_action = 11;
- Specified by:
getTwowaySynonymsActionOrBuilder
in 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.v2beta.Condition condition = 1 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
hasCondition
in interfaceRuleOrBuilder
- Returns:
- Whether the condition field is set.
-
getCondition
public Condition getCondition()
Required. The condition that triggers the rule. If the condition is empty, the rule will always apply.
.google.cloud.retail.v2beta.Condition condition = 1 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getCondition
in interfaceRuleOrBuilder
- Returns:
- The condition.
-
getConditionOrBuilder
public ConditionOrBuilder getConditionOrBuilder()
Required. The condition that triggers the rule. If the condition is empty, the rule will always apply.
.google.cloud.retail.v2beta.Condition condition = 1 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getConditionOrBuilder
in interfaceRuleOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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
public static Rule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- 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
public static Rule parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Rule parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Rule parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Rule parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Rule parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Rule parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Rule.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Rule.Builder newBuilder()
-
newBuilder
public static Rule.Builder newBuilder(Rule prototype)
-
toBuilder
public Rule.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Rule.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Rule getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Rule> parser()
-
getParserForType
public com.google.protobuf.Parser<Rule> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Rule getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-