org.drools.marshalling.impl
Class ProtobufMessages.Activation.Builder

java.lang.Object
  extended by com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
      extended by com.google.protobuf.AbstractMessage.Builder<BuilderType>
          extended by com.google.protobuf.GeneratedMessage.Builder<ProtobufMessages.Activation.Builder>
              extended by org.drools.marshalling.impl.ProtobufMessages.Activation.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, ProtobufMessages.ActivationOrBuilder
Enclosing class:
ProtobufMessages.Activation

public static final class ProtobufMessages.Activation.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ProtobufMessages.Activation.Builder>
implements ProtobufMessages.ActivationOrBuilder

Protobuf type org.drools.marshalling.Activation


Method Summary
 ProtobufMessages.Activation.Builder addAllLogicalDependency(Iterable<? extends Integer> values)
          repeated int32 logical_dependency = 10;
 ProtobufMessages.Activation.Builder addLogicalDependency(int value)
          repeated int32 logical_dependency = 10;
 ProtobufMessages.Activation build()
           
 ProtobufMessages.Activation buildPartial()
           
 ProtobufMessages.Activation.Builder clear()
           
 ProtobufMessages.Activation.Builder clearActivationGroup()
          optional string activation_group = 7; optional int64 propagation_number = 6;
 ProtobufMessages.Activation.Builder clearHandleId()
          optional int32 handle_id = 9;
 ProtobufMessages.Activation.Builder clearIsActivated()
          optional bool is_activated = 8;
 ProtobufMessages.Activation.Builder clearLogicalDependency()
          repeated int32 logical_dependency = 10;
 ProtobufMessages.Activation.Builder clearPackageName()
          optional string package_name = 4;
 ProtobufMessages.Activation.Builder clearRuleName()
          optional string rule_name = 5;
 ProtobufMessages.Activation.Builder clearSalience()
          optional int32 salience = 3;
 ProtobufMessages.Activation.Builder clearTuple()
          optional .org.drools.marshalling.Tuple tuple = 2; optional int64 activation_number = 1;
 ProtobufMessages.Activation.Builder clone()
           
 String getActivationGroup()
          optional string activation_group = 7; optional int64 propagation_number = 6;
 com.google.protobuf.ByteString getActivationGroupBytes()
          optional string activation_group = 7; optional int64 propagation_number = 6;
 ProtobufMessages.Activation getDefaultInstanceForType()
           
static com.google.protobuf.Descriptors.Descriptor getDescriptor()
           
 com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
           
 int getHandleId()
          optional int32 handle_id = 9;
 boolean getIsActivated()
          optional bool is_activated = 8;
 int getLogicalDependency(int index)
          repeated int32 logical_dependency = 10;
 int getLogicalDependencyCount()
          repeated int32 logical_dependency = 10;
 List<Integer> getLogicalDependencyList()
          repeated int32 logical_dependency = 10;
 String getPackageName()
          optional string package_name = 4;
 com.google.protobuf.ByteString getPackageNameBytes()
          optional string package_name = 4;
 String getRuleName()
          optional string rule_name = 5;
 com.google.protobuf.ByteString getRuleNameBytes()
          optional string rule_name = 5;
 int getSalience()
          optional int32 salience = 3;
 ProtobufMessages.Tuple getTuple()
          optional .org.drools.marshalling.Tuple tuple = 2; optional int64 activation_number = 1;
 ProtobufMessages.Tuple.Builder getTupleBuilder()
          optional .org.drools.marshalling.Tuple tuple = 2; optional int64 activation_number = 1;
 ProtobufMessages.TupleOrBuilder getTupleOrBuilder()
          optional .org.drools.marshalling.Tuple tuple = 2; optional int64 activation_number = 1;
 boolean hasActivationGroup()
          optional string activation_group = 7; optional int64 propagation_number = 6;
 boolean hasHandleId()
          optional int32 handle_id = 9;
 boolean hasIsActivated()
          optional bool is_activated = 8;
 boolean hasPackageName()
          optional string package_name = 4;
 boolean hasRuleName()
          optional string rule_name = 5;
 boolean hasSalience()
          optional int32 salience = 3;
 boolean hasTuple()
          optional .org.drools.marshalling.Tuple tuple = 2; optional int64 activation_number = 1;
protected  com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
           
 boolean isInitialized()
           
 ProtobufMessages.Activation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           
 ProtobufMessages.Activation.Builder mergeFrom(com.google.protobuf.Message other)
           
 ProtobufMessages.Activation.Builder mergeFrom(ProtobufMessages.Activation other)
           
 ProtobufMessages.Activation.Builder mergeTuple(ProtobufMessages.Tuple value)
          optional .org.drools.marshalling.Tuple tuple = 2; optional int64 activation_number = 1;
 ProtobufMessages.Activation.Builder setActivationGroup(String value)
          optional string activation_group = 7; optional int64 propagation_number = 6;
 ProtobufMessages.Activation.Builder setActivationGroupBytes(com.google.protobuf.ByteString value)
          optional string activation_group = 7; optional int64 propagation_number = 6;
 ProtobufMessages.Activation.Builder setHandleId(int value)
          optional int32 handle_id = 9;
 ProtobufMessages.Activation.Builder setIsActivated(boolean value)
          optional bool is_activated = 8;
 ProtobufMessages.Activation.Builder setLogicalDependency(int index, int value)
          repeated int32 logical_dependency = 10;
 ProtobufMessages.Activation.Builder setPackageName(String value)
          optional string package_name = 4;
 ProtobufMessages.Activation.Builder setPackageNameBytes(com.google.protobuf.ByteString value)
          optional string package_name = 4;
 ProtobufMessages.Activation.Builder setRuleName(String value)
          optional string rule_name = 5;
 ProtobufMessages.Activation.Builder setRuleNameBytes(com.google.protobuf.ByteString value)
          optional string rule_name = 5;
 ProtobufMessages.Activation.Builder setSalience(int value)
          optional int32 salience = 3;
 ProtobufMessages.Activation.Builder setTuple(ProtobufMessages.Tuple.Builder builderForValue)
          optional .org.drools.marshalling.Tuple tuple = 2; optional int64 activation_number = 1;
 ProtobufMessages.Activation.Builder setTuple(ProtobufMessages.Tuple value)
          optional .org.drools.marshalling.Tuple tuple = 2; optional int64 activation_number = 1;
 
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
 
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
 
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, newUninitializedMessageException
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
 

Method Detail

getDescriptor

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()

internalGetFieldAccessorTable

protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Specified by:
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ProtobufMessages.Activation.Builder>

clear

public ProtobufMessages.Activation.Builder clear()
Specified by:
clear in interface com.google.protobuf.Message.Builder
Specified by:
clear in interface com.google.protobuf.MessageLite.Builder
Overrides:
clear in class com.google.protobuf.GeneratedMessage.Builder<ProtobufMessages.Activation.Builder>

clone

public ProtobufMessages.Activation.Builder clone()
Specified by:
clone in interface com.google.protobuf.Message.Builder
Specified by:
clone in interface com.google.protobuf.MessageLite.Builder
Overrides:
clone in class com.google.protobuf.GeneratedMessage.Builder<ProtobufMessages.Activation.Builder>

getDescriptorForType

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
Specified by:
getDescriptorForType in interface com.google.protobuf.Message.Builder
Specified by:
getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
Overrides:
getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ProtobufMessages.Activation.Builder>

getDefaultInstanceForType

public ProtobufMessages.Activation getDefaultInstanceForType()
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
Specified by:
getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder

build

public ProtobufMessages.Activation build()
Specified by:
build in interface com.google.protobuf.Message.Builder
Specified by:
build in interface com.google.protobuf.MessageLite.Builder

buildPartial

public ProtobufMessages.Activation buildPartial()
Specified by:
buildPartial in interface com.google.protobuf.Message.Builder
Specified by:
buildPartial in interface com.google.protobuf.MessageLite.Builder

mergeFrom

public ProtobufMessages.Activation.Builder mergeFrom(com.google.protobuf.Message other)
Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ProtobufMessages.Activation.Builder>

mergeFrom

public ProtobufMessages.Activation.Builder mergeFrom(ProtobufMessages.Activation other)

isInitialized

public final boolean isInitialized()
Specified by:
isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
Overrides:
isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ProtobufMessages.Activation.Builder>

mergeFrom

public ProtobufMessages.Activation.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws IOException
Specified by:
mergeFrom in interface com.google.protobuf.Message.Builder
Specified by:
mergeFrom in interface com.google.protobuf.MessageLite.Builder
Overrides:
mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ProtobufMessages.Activation.Builder>
Throws:
IOException

hasTuple

public boolean hasTuple()
optional .org.drools.marshalling.Tuple tuple = 2;
optional int64 activation_number = 1;
 

Specified by:
hasTuple in interface ProtobufMessages.ActivationOrBuilder

getTuple

public ProtobufMessages.Tuple getTuple()
optional .org.drools.marshalling.Tuple tuple = 2;
optional int64 activation_number = 1;
 

Specified by:
getTuple in interface ProtobufMessages.ActivationOrBuilder

setTuple

public ProtobufMessages.Activation.Builder setTuple(ProtobufMessages.Tuple value)
optional .org.drools.marshalling.Tuple tuple = 2;
optional int64 activation_number = 1;
 


setTuple

public ProtobufMessages.Activation.Builder setTuple(ProtobufMessages.Tuple.Builder builderForValue)
optional .org.drools.marshalling.Tuple tuple = 2;
optional int64 activation_number = 1;
 


mergeTuple

public ProtobufMessages.Activation.Builder mergeTuple(ProtobufMessages.Tuple value)
optional .org.drools.marshalling.Tuple tuple = 2;
optional int64 activation_number = 1;
 


clearTuple

public ProtobufMessages.Activation.Builder clearTuple()
optional .org.drools.marshalling.Tuple tuple = 2;
optional int64 activation_number = 1;
 


getTupleBuilder

public ProtobufMessages.Tuple.Builder getTupleBuilder()
optional .org.drools.marshalling.Tuple tuple = 2;
optional int64 activation_number = 1;
 


getTupleOrBuilder

public ProtobufMessages.TupleOrBuilder getTupleOrBuilder()
optional .org.drools.marshalling.Tuple tuple = 2;
optional int64 activation_number = 1;
 

Specified by:
getTupleOrBuilder in interface ProtobufMessages.ActivationOrBuilder

hasSalience

public boolean hasSalience()
optional int32 salience = 3;

Specified by:
hasSalience in interface ProtobufMessages.ActivationOrBuilder

getSalience

public int getSalience()
optional int32 salience = 3;

Specified by:
getSalience in interface ProtobufMessages.ActivationOrBuilder

setSalience

public ProtobufMessages.Activation.Builder setSalience(int value)
optional int32 salience = 3;


clearSalience

public ProtobufMessages.Activation.Builder clearSalience()
optional int32 salience = 3;


hasPackageName

public boolean hasPackageName()
optional string package_name = 4;

Specified by:
hasPackageName in interface ProtobufMessages.ActivationOrBuilder

getPackageName

public String getPackageName()
optional string package_name = 4;

Specified by:
getPackageName in interface ProtobufMessages.ActivationOrBuilder

getPackageNameBytes

public com.google.protobuf.ByteString getPackageNameBytes()
optional string package_name = 4;

Specified by:
getPackageNameBytes in interface ProtobufMessages.ActivationOrBuilder

setPackageName

public ProtobufMessages.Activation.Builder setPackageName(String value)
optional string package_name = 4;


clearPackageName

public ProtobufMessages.Activation.Builder clearPackageName()
optional string package_name = 4;


setPackageNameBytes

public ProtobufMessages.Activation.Builder setPackageNameBytes(com.google.protobuf.ByteString value)
optional string package_name = 4;


hasRuleName

public boolean hasRuleName()
optional string rule_name = 5;

Specified by:
hasRuleName in interface ProtobufMessages.ActivationOrBuilder

getRuleName

public String getRuleName()
optional string rule_name = 5;

Specified by:
getRuleName in interface ProtobufMessages.ActivationOrBuilder

getRuleNameBytes

public com.google.protobuf.ByteString getRuleNameBytes()
optional string rule_name = 5;

Specified by:
getRuleNameBytes in interface ProtobufMessages.ActivationOrBuilder

setRuleName

public ProtobufMessages.Activation.Builder setRuleName(String value)
optional string rule_name = 5;


clearRuleName

public ProtobufMessages.Activation.Builder clearRuleName()
optional string rule_name = 5;


setRuleNameBytes

public ProtobufMessages.Activation.Builder setRuleNameBytes(com.google.protobuf.ByteString value)
optional string rule_name = 5;


hasActivationGroup

public boolean hasActivationGroup()
optional string activation_group = 7;
optional int64 propagation_number = 6;
 

Specified by:
hasActivationGroup in interface ProtobufMessages.ActivationOrBuilder

getActivationGroup

public String getActivationGroup()
optional string activation_group = 7;
optional int64 propagation_number = 6;
 

Specified by:
getActivationGroup in interface ProtobufMessages.ActivationOrBuilder

getActivationGroupBytes

public com.google.protobuf.ByteString getActivationGroupBytes()
optional string activation_group = 7;
optional int64 propagation_number = 6;
 

Specified by:
getActivationGroupBytes in interface ProtobufMessages.ActivationOrBuilder

setActivationGroup

public ProtobufMessages.Activation.Builder setActivationGroup(String value)
optional string activation_group = 7;
optional int64 propagation_number = 6;
 


clearActivationGroup

public ProtobufMessages.Activation.Builder clearActivationGroup()
optional string activation_group = 7;
optional int64 propagation_number = 6;
 


setActivationGroupBytes

public ProtobufMessages.Activation.Builder setActivationGroupBytes(com.google.protobuf.ByteString value)
optional string activation_group = 7;
optional int64 propagation_number = 6;
 


hasIsActivated

public boolean hasIsActivated()
optional bool is_activated = 8;

Specified by:
hasIsActivated in interface ProtobufMessages.ActivationOrBuilder

getIsActivated

public boolean getIsActivated()
optional bool is_activated = 8;

Specified by:
getIsActivated in interface ProtobufMessages.ActivationOrBuilder

setIsActivated

public ProtobufMessages.Activation.Builder setIsActivated(boolean value)
optional bool is_activated = 8;


clearIsActivated

public ProtobufMessages.Activation.Builder clearIsActivated()
optional bool is_activated = 8;


hasHandleId

public boolean hasHandleId()
optional int32 handle_id = 9;

Specified by:
hasHandleId in interface ProtobufMessages.ActivationOrBuilder

getHandleId

public int getHandleId()
optional int32 handle_id = 9;

Specified by:
getHandleId in interface ProtobufMessages.ActivationOrBuilder

setHandleId

public ProtobufMessages.Activation.Builder setHandleId(int value)
optional int32 handle_id = 9;


clearHandleId

public ProtobufMessages.Activation.Builder clearHandleId()
optional int32 handle_id = 9;


getLogicalDependencyList

public List<Integer> getLogicalDependencyList()
repeated int32 logical_dependency = 10;

Specified by:
getLogicalDependencyList in interface ProtobufMessages.ActivationOrBuilder

getLogicalDependencyCount

public int getLogicalDependencyCount()
repeated int32 logical_dependency = 10;

Specified by:
getLogicalDependencyCount in interface ProtobufMessages.ActivationOrBuilder

getLogicalDependency

public int getLogicalDependency(int index)
repeated int32 logical_dependency = 10;

Specified by:
getLogicalDependency in interface ProtobufMessages.ActivationOrBuilder

setLogicalDependency

public ProtobufMessages.Activation.Builder setLogicalDependency(int index,
                                                                int value)
repeated int32 logical_dependency = 10;


addLogicalDependency

public ProtobufMessages.Activation.Builder addLogicalDependency(int value)
repeated int32 logical_dependency = 10;


addAllLogicalDependency

public ProtobufMessages.Activation.Builder addAllLogicalDependency(Iterable<? extends Integer> values)
repeated int32 logical_dependency = 10;


clearLogicalDependency

public ProtobufMessages.Activation.Builder clearLogicalDependency()
repeated int32 logical_dependency = 10;



Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.