/** * <code>repeated .org.drools.marshalling.ObjectTypeConfiguration otc = 4;</code> */ public org.drools.marshalling.impl.ProtobufMessages.ObjectTypeConfiguration.Builder addOtcBuilder() { return getOtcFieldBuilder().addBuilder( org.drools.marshalling.impl.ProtobufMessages.ObjectTypeConfiguration.getDefaultInstance()); } /**
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getTypeBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBool(2, tmsEnabled_); } getUnknownFields().writeTo(output); }
com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable();
Set<String> tmsEnabled = new HashSet<String>(); for( ObjectTypeConfiguration _otc : _ep.getOtcList() ) { if( _otc.getTmsEnabled() ) { tmsEnabled.add( _otc.getType() );
public org.drools.marshalling.impl.ProtobufMessages.ObjectTypeConfiguration buildPartial() { org.drools.marshalling.impl.ProtobufMessages.ObjectTypeConfiguration result = new org.drools.marshalling.impl.ProtobufMessages.ObjectTypeConfiguration(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.type_ = type_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.tmsEnabled_ = tmsEnabled_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(1, getTypeBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, tmsEnabled_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public org.drools.marshalling.impl.ProtobufMessages.ObjectTypeConfiguration getDefaultInstanceForType() { return org.drools.marshalling.impl.ProtobufMessages.ObjectTypeConfiguration.getDefaultInstance(); }
public Builder mergeFrom(org.drools.marshalling.impl.ProtobufMessages.ObjectTypeConfiguration other) { if (other == org.drools.marshalling.impl.ProtobufMessages.ObjectTypeConfiguration.getDefaultInstance()) return this; if (other.hasType()) { bitField0_ |= 0x00000001; type_ = other.type_; onChanged(); } if (other.hasTmsEnabled()) { setTmsEnabled(other.getTmsEnabled()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
/** * <code>repeated .org.drools.marshalling.ObjectTypeConfiguration otc = 4;</code> */ public org.drools.marshalling.impl.ProtobufMessages.ObjectTypeConfiguration.Builder addOtcBuilder( int index) { return getOtcFieldBuilder().addBuilder( index, org.drools.marshalling.impl.ProtobufMessages.ObjectTypeConfiguration.getDefaultInstance()); } /**
/** * <code>optional string type = 1;</code> */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000001); type_ = getDefaultInstance().getType(); onChanged(); return this; } /**