/** * <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 setUuid(datawave.edge.protobuf.EdgeData.EdgeValue.UUID.Builder builderForValue) { if (uuidBuilder_ == null) { uuid_ = builderForValue.build(); onChanged(); } else { uuidBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000100; return this; }
subBuilder.mergeFrom(uuid_); uuid_ = subBuilder.buildPartial();
/** * <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 Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { datawave.edge.protobuf.EdgeData.EdgeValue.UUID parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (datawave.edge.protobuf.EdgeData.EdgeValue.UUID) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; }
private Builder() { maybeForceBuilderInitialization(); }
public static Builder newBuilder(datawave.edge.protobuf.EdgeData.EdgeValue.UUID prototype) { return newBuilder().mergeFrom(prototype); }
private static Builder create() { return new Builder(); }
private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); }
public Builder clone() { return create().mergeFrom(buildPartial()); }
public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof datawave.edge.protobuf.EdgeData.EdgeValue.UUID) { return mergeFrom((datawave.edge.protobuf.EdgeData.EdgeValue.UUID) other); } else { super.mergeFrom(other); return this; } }
public datawave.edge.protobuf.EdgeData.EdgeValue.UUID build() { datawave.edge.protobuf.EdgeData.EdgeValue.UUID result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
public final boolean isInitialized() { if (!hasLeastSignificantBits()) { return false; } if (!hasMostSignificantBits()) { return false; } return true; }
public static EdgeData.EdgeValue.UUID convertUuidStringToUuidObj(String uuidString) throws IllegalArgumentException { UUID uuidObj = UUID.fromString(uuidString); EdgeData.EdgeValue.UUID.Builder uuidBuilder = EdgeData.EdgeValue.UUID.newBuilder(); uuidBuilder.setLeastSignificantBits(uuidObj.getLeastSignificantBits()); uuidBuilder.setMostSignificantBits(uuidObj.getMostSignificantBits()); return uuidBuilder.build(); }
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; }
@java.lang.Override protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; }