/** * <code>optional string loadDate = 7;</code> */ public Builder setLoadDateBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; loadDate_ = value; onChanged(); return this; }
/** * <code>optional string sinkValue = 6;</code> */ public Builder setSinkValueBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; sinkValue_ = value; onChanged(); return this; }
/** * <code>optional string sourceValue = 5;</code> */ public Builder setSourceValueBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; sourceValue_ = value; onChanged(); return this; }
/** * <code>optional int32 hourBitmask = 4;</code> * * <pre> * Bitmask for tracking edge creation by the hour. * </pre> */ public Builder clearHourBitmask() { bitField0_ = (bitField0_ & ~0x00000008); hourBitmask_ = 0; onChanged(); return this; }
/** * <code>optional int64 count = 1;</code> * * <pre> * edge table count * </pre> */ public Builder clearCount() { bitField0_ = (bitField0_ & ~0x00000001); count_ = 0L; onChanged(); return this; }
/** * <code>repeated int64 hours = 2 [packed = true];</code> * * <pre> * hour activity array (length 24) * </pre> */ public Builder addAllHours(java.lang.Iterable<? extends java.lang.Long> values) { ensureHoursIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, hours_); onChanged(); return this; }
/** * <code>repeated int64 hours = 2 [packed = true];</code> * * <pre> * hour activity array (length 24) * </pre> */ public Builder addHours(long value) { ensureHoursIsMutable(); hours_.add(value); onChanged(); return this; }
/** * <code>optional int64 count = 1;</code> * * <pre> * edge table count * </pre> */ public Builder setCount(long value) { bitField0_ |= 0x00000001; count_ = value; onChanged(); return this; }
/** * <code>optional string uuid_string = 10;</code> * * <pre> * a single uuid of an event that contributed to the edge in string format * </pre> */ public Builder clearUuidString() { bitField0_ = (bitField0_ & ~0x00000200); uuidString_ = getDefaultInstance().getUuidString(); onChanged(); return this; }
/** * <code>optional int32 hourBitmask = 4;</code> * * <pre> * Bitmask for tracking edge creation by the hour. * </pre> */ public Builder setHourBitmask(int value) { bitField0_ |= 0x00000008; hourBitmask_ = value; onChanged(); return this; }
/** * <code>repeated int64 hours = 2 [packed = true];</code> * * <pre> * hour activity array (length 24) * </pre> */ public Builder clearHours() { hours_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; }
/** * <code>optional bool badActivity = 8;</code> */ public Builder setBadActivity(boolean value) { bitField0_ |= 0x00000080; badActivity_ = value; onChanged(); return this; }
/** * <code>optional string sinkValue = 6;</code> */ public Builder setSinkValue(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; sinkValue_ = value; onChanged(); return this; }
/** * <code>optional .datawave.edge.protobuf.EdgeValue.UUID uuid = 9;</code> * * <pre> * a single uuid of an event that contributed to the edge * </pre> */ public datawave.edge.protobuf.EdgeData.EdgeValue.UUID.Builder getUuidBuilder() { bitField0_ |= 0x00000100; onChanged(); return getUuidFieldBuilder().getBuilder(); }
/** * <code>optional bool badActivity = 8;</code> */ public Builder clearBadActivity() { bitField0_ = (bitField0_ & ~0x00000080); badActivity_ = false; onChanged(); return this; }
/** * <code>optional string sinkValue = 6;</code> */ public Builder clearSinkValue() { bitField0_ = (bitField0_ & ~0x00000020); sinkValue_ = getDefaultInstance().getSinkValue(); onChanged(); return this; }
/** * <code>optional string sourceValue = 5;</code> */ public Builder setSourceValue(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; sourceValue_ = value; onChanged(); return this; }
/** * <code>optional string loadDate = 7;</code> */ public Builder clearLoadDate() { bitField0_ = (bitField0_ & ~0x00000040); loadDate_ = getDefaultInstance().getLoadDate(); onChanged(); return this; }
/** * <code>optional string loadDate = 7;</code> */ public Builder setLoadDate(java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; loadDate_ = value; onChanged(); return this; }
/** * <code>optional string sourceValue = 5;</code> */ public Builder clearSourceValue() { bitField0_ = (bitField0_ & ~0x00000010); sourceValue_ = getDefaultInstance().getSourceValue(); onChanged(); return this; }