/** * <code>required bytes data = 2;</code> */ public Builder setData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; data_ = value; onChanged(); return this; } /**
/** * <code>required bytes data = 2;</code> */ public Builder setData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; data_ = value; onChanged(); return this; } /**
/** * <code>required bytes data = 2;</code> */ public Builder setData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; data_ = value; onChanged(); return this; } /**
public Builder mergeFrom(org.bitcoinj.wallet.Protos.Extension other) { if (other == org.bitcoinj.wallet.Protos.Extension.getDefaultInstance()) return this; if (other.hasId()) { bitField0_ |= 0x00000001; id_ = other.id_; onChanged(); } if (other.hasData()) { setData(other.getData()); } if (other.hasMandatory()) { setMandatory(other.getMandatory()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
/** * <code>required bool mandatory = 3;</code> * * <pre> * If we do not understand a mandatory extension, abort to prevent data loss. * For example, this could be applied to a new type of holding, such as a contract, where * dropping of an extension in a read/write cycle could cause loss of value. * </pre> */ public Builder clearMandatory() { bitField0_ = (bitField0_ & ~0x00000004); mandatory_ = false; onChanged(); return this; }
public Builder mergeFrom(org.bitcoinj.wallet.Protos.Extension other) { if (other == org.bitcoinj.wallet.Protos.Extension.getDefaultInstance()) return this; if (other.hasId()) { bitField0_ |= 0x00000001; id_ = other.id_; onChanged(); } if (other.hasData()) { setData(other.getData()); } if (other.hasMandatory()) { setMandatory(other.getMandatory()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
/** * <code>required bool mandatory = 3;</code> * * <pre> * If we do not understand a mandatory extension, abort to prevent data loss. * For example, this could be applied to a new type of holding, such as a contract, where * dropping of an extension in a read/write cycle could cause loss of value. * </pre> */ public Builder clearMandatory() { bitField0_ = (bitField0_ & ~0x00000004); mandatory_ = false; onChanged(); return this; }
/** * <code>required string id = 1;</code> * * <pre> * like org.whatever.foo.bar * </pre> */ public Builder clearId() { bitField0_ = (bitField0_ & ~0x00000001); id_ = getDefaultInstance().getId(); onChanged(); return this; } /**
/** * <code>required bool mandatory = 3;</code> * * <pre> * If we do not understand a mandatory extension, abort to prevent data loss. * For example, this could be applied to a new type of holding, such as a contract, where * dropping of an extension in a read/write cycle could cause loss of value. * </pre> */ public Builder clearMandatory() { bitField0_ = (bitField0_ & ~0x00000004); mandatory_ = false; onChanged(); return this; }
/** * <code>required string id = 1;</code> * * <pre> * like org.whatever.foo.bar * </pre> */ public Builder clearId() { bitField0_ = (bitField0_ & ~0x00000001); id_ = getDefaultInstance().getId(); onChanged(); return this; } /**
/** * <code>required string id = 1;</code> * * <pre> * like org.whatever.foo.bar * </pre> */ public Builder clearId() { bitField0_ = (bitField0_ & ~0x00000001); id_ = getDefaultInstance().getId(); onChanged(); return this; } /**
/** * <code>required bytes data = 2;</code> */ public Builder setData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; data_ = value; onChanged(); return this; } /**
/** * <code>required string id = 1;</code> * * <pre> * like org.whatever.foo.bar * </pre> */ public Builder clearId() { bitField0_ = (bitField0_ & ~0x00000001); id_ = getDefaultInstance().getId(); onChanged(); return this; } /**
/** * <code>required bytes data = 2;</code> */ public Builder setData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; data_ = value; onChanged(); return this; } /**
/** * <code>required string id = 1;</code> * * <pre> * like org.whatever.foo.bar * </pre> */ public Builder clearId() { bitField0_ = (bitField0_ & ~0x00000001); id_ = getDefaultInstance().getId(); onChanged(); return this; } /**
/** * <code>required bytes data = 2;</code> */ public Builder clearData() { bitField0_ = (bitField0_ & ~0x00000002); data_ = getDefaultInstance().getData(); onChanged(); return this; }
/** * <code>required bytes data = 2;</code> */ public Builder clearData() { bitField0_ = (bitField0_ & ~0x00000002); data_ = getDefaultInstance().getData(); onChanged(); return this; }
/** * <code>required bytes data = 2;</code> */ public Builder clearData() { bitField0_ = (bitField0_ & ~0x00000002); data_ = getDefaultInstance().getData(); onChanged(); return this; }
/** * <code>required bytes data = 2;</code> */ public Builder clearData() { bitField0_ = (bitField0_ & ~0x00000002); data_ = getDefaultInstance().getData(); onChanged(); return this; }
/** * <code>required bytes data = 2;</code> */ public Builder clearData() { bitField0_ = (bitField0_ & ~0x00000002); data_ = getDefaultInstance().getData(); onChanged(); return this; }