private void initFields() { count_ = 0L; hours_ = java.util.Collections.emptyList(); duration_ = java.util.Collections.emptyList(); hourBitmask_ = 0; sourceValue_ = ""; sinkValue_ = ""; loadDate_ = ""; badActivity_ = false; uuid_ = datawave.edge.protobuf.EdgeData.EdgeValue.UUID.getDefaultInstance(); uuidString_ = ""; }
public Builder clear() { super.clear(); count_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); hours_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); duration_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); hourBitmask_ = 0; bitField0_ = (bitField0_ & ~0x00000008); sourceValue_ = ""; bitField0_ = (bitField0_ & ~0x00000010); sinkValue_ = ""; bitField0_ = (bitField0_ & ~0x00000020); loadDate_ = ""; bitField0_ = (bitField0_ & ~0x00000040); badActivity_ = false; bitField0_ = (bitField0_ & ~0x00000080); if (uuidBuilder_ == null) { uuid_ = datawave.edge.protobuf.EdgeData.EdgeValue.UUID.getDefaultInstance(); } else { uuidBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); uuidString_ = ""; bitField0_ = (bitField0_ & ~0x00000200); 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 Builder clearUuid() { if (uuidBuilder_ == null) { uuid_ = datawave.edge.protobuf.EdgeData.EdgeValue.UUID.getDefaultInstance(); onChanged(); } else { uuidBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); 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 Builder mergeUuid(datawave.edge.protobuf.EdgeData.EdgeValue.UUID value) { if (uuidBuilder_ == null) { if (((bitField0_ & 0x00000100) == 0x00000100) && uuid_ != datawave.edge.protobuf.EdgeData.EdgeValue.UUID.getDefaultInstance()) { uuid_ = datawave.edge.protobuf.EdgeData.EdgeValue.UUID.newBuilder(uuid_).mergeFrom(value).buildPartial(); } else { uuid_ = value; } onChanged(); } else { uuidBuilder_.mergeFrom(value); } bitField0_ |= 0x00000100; return this; }
public datawave.edge.protobuf.EdgeData.EdgeValue.UUID getDefaultInstanceForType() { return datawave.edge.protobuf.EdgeData.EdgeValue.UUID.getDefaultInstance(); }
public Builder mergeFrom(datawave.edge.protobuf.EdgeData.EdgeValue.UUID other) { if (other == datawave.edge.protobuf.EdgeData.EdgeValue.UUID.getDefaultInstance()) return this; if (other.hasLeastSignificantBits()) { setLeastSignificantBits(other.getLeastSignificantBits()); } if (other.hasMostSignificantBits()) { setMostSignificantBits(other.getMostSignificantBits()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }